<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>版本维护</title>
	<%@ include file="/view/common/tags.jsp"%>
</head>
<body>
	<div class="well well_p" >
		<sk:form method="post" cssClass="form-horizontal" action=""  id="saveAndUpdateFrom" target="_parent"  >
			<input id="rowId" name="rowId" type="hidden" value="${appVersion.rowId}"/><!-- 主键 -->
			<input id="channel" name="channel" type="hidden" value="${appVersion.channel}"/><!-- 发行渠道 -->
			<input id="platformType" name="platformType" type="hidden" value="${appVersion.platformType}"/><!-- 平台类型 -->
			<input id="platformTypeName" name="platformTypeName" type="hidden" value="${appVersion.platformTypeName}"/><!-- 平台类型名称 -->
			<input id="verDesc" name="verDesc" type="hidden" value="${appVersion.verDesc}"/><!-- 版本描述 -->
			<input id="fileSize" name="fileSize" type="hidden" value="${appVersion.fileSize}"/><!-- 文件大小 -->
			<input id="pubTime" name="pubTime" type="hidden" value="${appVersion.pubTime}"/><!-- 发布时间 -->
			<input id="appType" name="appType" type="hidden" value="${appVersion.appType}"/><!-- 类型 -->
			<div class="form-group">
				<label class="col-xs-3 text-right">渠道:</label>
				<div class="col-xs-7">
					${appVersion.channel }
				</div>
			</div>
			<div class="form-group">
				<label class="col-xs-3 text-right">类型:</label>
				<div class="col-xs-7">
					<c:if test="${appVersion.appType == '10'}">
						IOS
					</c:if>
					<c:if test="${appVersion.appType != '10'}">
						Android
					</c:if>
				</div>
			</div>
			<div class="form-group" >
				<label class="col-xs-3 text-right">版本名称:</label>
				<div class="col-xs-7">
					<input type="text" class="form-control" name="verName" id="verName" value="${appVersion.verName }">
				</div>
			</div>
			<div class="form-group" >
				<label class="col-xs-3 text-right">版本号:</label>
				<div class="col-xs-7">
					<input type="text" class="form-control" name="verCode" id="verCode" value="${appVersion.verCode }">
				</div>
			</div>
			<div class="form-group" >
				<label class="col-xs-3 text-right">下载地址:</label>
				<div class="col-xs-7">
					<input type="text" class="form-control" name="downloadUrl" id="downloadUrl" value="${appVersion.downloadUrl }">
				</div>
			</div>
			<div class="form-group" >
				<label class="col-xs-3 text-right">用户是否可见：</label>
				<div class="col-xs-7">
					<select name="verState" id="verState" class="mar10" style="width:173px;" onchange="showArea()">
						<option value="1"<c:if test="${appVersion.verState == 1 }">selected</c:if> >是</option>
						<option value="0"<c:if test="${appVersion.verState == 0 }">selected</c:if> >否</option>
					</select>
				</div>
			</div>
			<div class="form-group" id="oldNotUpdateTr">
				<label class="col-xs-3 text-right">不更新版本号：</label>
				<div class="col-xs-7">
					<input type="text" class="form-control" name="oldNotUpdate" id="oldNotUpdate" value="${appVersion.oldNotUpdate }" placeholder="请将版本号用英文逗号分隔">
				</div>
			</div>
			<div class="form-group" id="oldVerForceTr">
				<label class="col-xs-3 text-right">强制更新配置：</label>
				<div class="col-xs-7">
				    <input type="text" class="form-control" name="oldVerForce" id="oldVerForce" value="${appVersion.oldVerForce }" placeholder="请将版本号用英文逗号分隔">
				</div>
				
			</div>
			<div class="form-group" id="oldVerForceTr">
				<label class="col-xs-3 text-right">控制大厅列表配置：</label>
				<div class="col-xs-7">
				    <input type="text" class="form-control" name="controlFlag" id="controlFlag" value="${appVersion.controlFlag }" placeholder="请将版本号用英文逗号分隔">
				</div>
				
			</div>
			<input type="hidden" id="isReCommit" value="0">
		</sk:form>
	</div>
</body>
   <%@ include file="/view/common/footer.jsp"%>
   <script type="text/javascript" src="${sysManagerV1}/view/js/system/appVersion_editor.js"></script>
</html>